import request from "@/utils/request";

//获取验证码
export const getCheckCode = params => request.get('/user/admin/emailCheck/' + params)
//注册
export const register = params => request.post('/user/admin/register/' + params.checkCode, params)
//登录
export const login = param => request.post('/user/admin/login', param)
//修改密码
export const updatePassword = param => request.put('/user/admin/updatePassword', param)